<footer id="foot">            
    <div class="container">
        <div class="row">
            <div class="span8 footeText">
                <h5 class="txtfff fnt-size14">About Skillhippo</h5>
                <p class="fnt-size12 txt999"><?php $cmsContent=getCMSConetnt(Message::ABOUT_US_ID);echo substr($cmsContent->body,0,200)?></p>
                <div class="links addmarginB20">
                    <div class="col">
                        <ul>                           
                            <li><a href="<?php echo Yii::app()->cms->createUrl('about'); ?>">ABOUT</a></li>
                            <li><a href="javascript:void(0);">Locations</a></li>
                            <li><a href="javascript:void(0);">Blog</a></li>
                            <li><a href="javascript:void(0);">Careers</a></li>
                            <li><a href="<?php echo Yii::app()->createAbsoluteUrl('/site/contact'); ?>">Contact</a></li>
                            <li><a href="<?php echo Yii::app()->cms->createUrl('Community'); ?>">Community</a></li>
                        </ul>
                    </div>
                    <div class="col">
                        <ul>                           
                            <li><a href="<?php echo Yii::app()->cms->createUrl('Termsconditions'); ?>">Terms &amp; Conditions</a></li>
                            <li><a href="<?php echo Yii::app()->cms->createUrl('Privacypolicy'); ?>">Privacy Policy</a></li>
                            <li><a href="javascript:void(0);">Suggestions</a></li>
                            <li><a href="<?php echo Yii::app()->cms->createUrl('Sitemap'); ?>">Sitemap</a></li>			
                            <li><?php echo CHtml::link('FAQ', $this->createAbsoluteUrl('/faq/view')); ?></li>
                            <li><?php echo CHtml::link('Team', $this->createAbsoluteUrl('/team/ViewTeam')); ?></li>

                        </ul>
                    </div>		
                    <div class="col">
                        <ul>                           
                            <li><a href="<?php echo $this->createAbsoluteUrl('/classes/classcategory', array('type' => 'workshop')); ?>">Classes &amp; Workshop</a></li>
                            <li><a href="<?php echo $this->createAbsoluteUrl('/classes/classcategory', array('type' => 'course')); ?>">Courses</a></li>
                            <li><a href="<?php echo $this->createAbsoluteUrl('/classes/classcategory', array('type' => 'curatedclasses')); ?>">Curated Classes</a></li>
                            <li><a href="javascript:void(0);">Become An Instructor</a></li>	
                            <li><a href="<?php echo Yii::app()->cms->createUrl('concept'); ?>">Concept</a></li>
                        </ul>
                    </div>

                </div> 
                <div class="fSubscribe">
                    <div class="floatL">
                        <p class="remmarginB font-opensansbd fnt-size11">Copyright &copy; 2013 Skillhippo.com. </p>
                        <p class="fnt-size11 font-opensansbd">All Rights Reserved. </p>
                    </div>
                    <div class="floatR">
                        <?php
                        $form = $this->beginWidget('GxActiveForm', array(
                            'id' => 'userss-form',
                            'action' => Yii::app()->createUrl('/Users/subscribe'),
                            'enableClientValidation' => true,
                            'clientOptions' => array(
                                'validateOnSubmit' => true,
                                'validateOnChange' => true,
                                'enableAjaxValidation' => true,
                            ),
                                ));
                        ?>
                        <fieldset>
                            <div id="AjaxLoaderSubscribe-formResults" style="display:none; color:#FFFFFF;"></div>                     
                            <input type="text"  name="Users[username]" class="field" placeholder="Enter Email Address">
                            <?php
                            echo CHtml::ajaxSubmitButton('Subscribe Now', Yii::app()->createUrl('Users/subscribe'), array(
                                'dataType' => 'json',
                                'type' => 'post',
                                'success' => 'function(data) {
						if(data.status=="already_subscribe"){
							$("#AjaxLoaderSubscribe-formResults").show();
							$("#AjaxLoaderSubscribe-formResults").html("You have already subscribed.");
							$("#Users_username_em_").hide();
						}else{
							if(data.status=="success"){
								$("#AjaxLoaderSubscribe-formResults").show();
								$("#AjaxLoaderSubscribe-formResults").html("Successfully subscribed.");
								$("#Users_username_ems_").hide();
							}else{
							  $("#AjaxLoaderSubscribe-formResults").hide();
                              $.each(data, function(key, val) {   
								$("#Users_username_ems_").text(val);                                                    
								$("#Users_username_ems_").show();
								});
                             }
						}
                    }',
                                    ), array('class' => 'btn', 'id' => 'subscribebtns', 'name' => 'subscribebtn'));
                            ?>
                            <div style="display:none" id="Users_username_ems_" class="errorMessage"></div>
                        </fieldset>
                        <?php
                        $this->endWidget();
                        ?>
                    </div>
                </div>
            </div>
            <div class="span3 offset1">
                <div class="connect">
                    <div class="footerCall">
                        <div class="padding20px">
                            <h5 class="txtfff fnt-size12">Contact Us On</h5>
                            <h5 class="fnt-size20">011 29242499</h5>
                        </div>
                    </div>                   
                    <div class="social">
                        <img src="<?php echo ThemePath(); ?>/images/footer-connect-link-img.gif">                                
                    </div>
                    <ul class="paymentIcons">
                        <li class="sprite visaC">&nbsp;</li>
                        <li class="sprite masterC">&nbsp;</li>
                        <li class="sprite americanC">&nbsp;</li>
                        <li class="sprite paypalC">&nbsp;</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>		
</footer>
<!--Go to Top-->
<div class="backtotop">
    <span>back</span>to top
</div>
<!--End OF Go Top-->
<!--Side SocialMenu-->
<div class="socialSideBar">
    <ul>
        <li><a href="javascript:void(0);" class="social-sprite fb-icon">facebook</a></li>
        <li><a href="javascript:void(0);" class="social-sprite twitter-icon">twitter</a></li>
        <li class="last"><a href="javascript:void(0);" id="shareOpt" class="social-sprite share-icon">share</a></li>       
    </ul>
</div>
<!--End Side SocialMenu-->

<!--shareItems Modal -->
<div id="shareItems" class="lightBox" style="display:none;">
    <div class="overlay"></div>	
    <div class="crosBtn"><a id="closeShareBox" href="javascript:void(0);" class="closeBtn"><img src="<?php echo ThemePath(); ?>/images/close.png" alt="" /></a></div>
    <div class="content">    
        <div class="col1">
            <p class="heading"><span class="social-sprite sm-Share addmarginR10">&nbsp;</span>Share</p>
            <div id="socialShareItm">
                <ul>
                    <li><a href="javascript:void(0);"><span class="social-sprite fb-icon addmarginR10">&nbsp;</span>Facebook</a></li>
                    <li><a href="javascript:void(0);"><span class="social-sprite twitter-icon addmarginR10">&nbsp;</span>Twitter</a></li>  
                    <li><a href="javascript:void(0);"><span class="social-sprite gplus-icon addmarginR10">&nbsp;</span>Facebook</a></li>
                    <li><a href="javascript:void(0);"><span class="social-sprite linkd-icon addmarginR10">&nbsp;</span>Linkedin</a></li>  
                    <li><a href="javascript:void(0);"><span class="social-sprite pin-icon addmarginR10">&nbsp;</span>Pintrest</a></li>
                    <li><a href="javascript:void(0);"><span class="social-sprite gplus-icon addmarginR10">&nbsp;</span>Facebook</a></li>
                    <li><a href="javascript:void(0);"><span class="social-sprite linkd-icon addmarginR10">&nbsp;</span>Linkedin</a></li>  
                    <li><a href="javascript:void(0);"><span class="social-sprite pin-icon addmarginR10">&nbsp;</span>Pintrest</a></li>
                    <li><a href="javascript:void(0);"><span class="social-sprite gplus-icon addmarginR10">&nbsp;</span>Facebook</a></li>
                    <li><a href="javascript:void(0);"><span class="social-sprite linkd-icon addmarginR10">&nbsp;</span>Linkedin</a></li>  
                    <li><a href="javascript:void(0);"><span class="social-sprite pin-icon addmarginR10">&nbsp;</span>Pintrest</a></li>                 
                </ul>
            </div>
        </div>
        <div class="col2">
            <p class="heading"><span class="social-sprite sm-Email addmarginR10">&nbsp;</span>Email</p>
            <div id="emailShareItm">
                <ul>
                    <li><a href="#"><span class="social-sprite outlook-icon addmarginR10">&nbsp;</span>Outlook</a></li>
                    <li><a href="#"><span class="social-sprite gmail-icon addmarginR10">&nbsp;</span>Gmail</a></li>  
                    <li><a href="#"><span class="social-sprite yahoo-icon addmarginR10">&nbsp;</span>Yahoo</a></li>
                    <li><a href="#"><span class="social-sprite outlook-icon addmarginR10">&nbsp;</span>Outlook</a></li>
                    <li><a href="#"><span class="social-sprite gmail-icon addmarginR10">&nbsp;</span>Gmail</a></li>  
                    <li><a href="#"><span class="social-sprite yahoo-icon addmarginR10">&nbsp;</span>Yahoo</a></li>
                    <li><a href="#"><span class="social-sprite outlook-icon addmarginR10">&nbsp;</span>Outlook</a></li>
                    <li><a href="#"><span class="social-sprite gmail-icon addmarginR10">&nbsp;</span>Gmail</a></li>  
                    <li><a href="#"><span class="social-sprite yahoo-icon addmarginR10">&nbsp;</span>Yahoo</a></li>
                </ul>
            </div>
        </div> 
    </div>   
</div>
<!--End shareItems Modal -->
<!--fixed subscriber box-->
<div class="subscribeBox">
    <a id="hideSubscribe" href="javascript:void(0);" class="hideme"><em class="sprite">&nbsp;</em></a>
    <div class="subscribeContent">
        <div class="container">
            <div class="row">
                <div class="span6">
                    <div class="padding">
                        <h2>HELLO, WORLD!</h2>
                        <p>Find out about upcoming courses and workshop.</p>
                    </div>
                </div>
                <div class="span6">
                    <div class="padding">
                        <?php
                        $form = $this->beginWidget('GxActiveForm', array(
                            'id' => 'users-form',
                            'action' => Yii::app()->createUrl('Users/subscribe'),
                            'enableClientValidation' => true,
                            'clientOptions' => array(
                                'validateOnSubmit' => true,
                                'validateOnChange' => true,
                                'enableAjaxValidation' => true,
                            ),
                                ));
                        ?>
                        <fieldset>
                            <div id="AjaxLoaderSubscribe-formResult" style="display:none; color:#FFFFFF;"></div>                     
                            <input type="text"  name="Users[username]" class="field" placeholder="Enter Email Address">
                            <?php
                            echo CHtml::ajaxSubmitButton('Subscribe Now', Yii::app()->createUrl('Users/subscribe'), array(
                                'dataType' => 'json',
                                'type' => 'post',
                                'success' => 'function(data) {
						if(data.status=="already_subscribe"){
							$("#AjaxLoaderSubscribe-formResult").show();
							$("#AjaxLoaderSubscribe-formResult").html("You have already subscribed.");
							$("#Users_username_em_").hide();
						}else{
							if(data.status=="success"){
								$("#AjaxLoaderSubscribe-formResult").show();
								$("#AjaxLoaderSubscribe-formResult").html("Successfully subscribed.");
								$("#Users_username_em_").hide();
							}else{
							  $("#AjaxLoaderSubscribe-formResult").hide();
                              $.each(data, function(key, val) {   
								$("#"+key+"_em_").text(val);                                                    
								$("#"+key+"_em_").show();
								});
                             }
						}
                    }',
                                    ), array('class' => 'btn', 'id' => 'subscribebtn', 'name' => 'subscribebtn'));
                            ?>
                            <div style="display:none" id="Users_username_em_" class="errorMessage"></div>
                        </fieldset>
                        <?php
                        $this->endWidget();
                        ?>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
        </div>	
    </div>
</div>
<!--end fixed subscriber box-->
<!--Login/Sign Up Form Popup-->
<div id="loginPopCheckout" class="pop-out mfp-hide">
    <?php
    Yii::app()->getModule('user');
    $this->renderPartial('application.modules.user.views.user.loginpopforcheckout');
    ?>
</div>
<div id="loginPopReview" class="pop-out mfp-hide">
<?php  Yii::app()->getModule('user'); $this->renderPartial('application.modules.user.views.user.loginpopgeneral'); ?>
</div>
<?php $this->renderPartial('application.www.themes.front-end.views.shoppingCart._form_EBSPOP'); ?>


<!--End Side SocialMenu-->
<link rel="stylesheet" href="<?php echo ThemePath(); ?>/css/jquery-ui.css">
<script src="<?php echo ThemePath(); ?>/js/jquery-ui.js"></script>
<script type="text/javascript" src="<?php echo ThemePath(); ?>/js/bootstrap-timepicker.min.js"></script>
<script src="<?php echo ThemePath(); ?>/js/bootstrap.js" type="text/javascript"></script>
<script src="<?php echo ThemePath(); ?>/js/jquery.tipsy.js" type="text/javascript"></script>
<script src="<?php echo ThemePath(); ?>/js/fancyfields-1.2.js" type="text/javascript"></script>
<script src="<?php echo ThemePath(); ?>/js/fancyfields.csb.min.js" type="text/javascript"></script>
<script src="<?php echo ThemePath(); ?>/js/jquery.meanmenu.min.js" type="text/javascript"></script>
<script src="<?php echo ThemePath(); ?>/js/responsiveCarousel.js" type="text/javascript"></script><!--Carousel Js-->
<!--Placeholder JS-->

<script type="text/javascript">
    jQuery(document).ready(function() {        
        jQuery('header nav').meanmenu();
        $('.fancySelectBox').fancyfields();
    });

    $(document).ready(function() {
        var content = $(".content").hide();
        $(".batchNum").on("click", function(e) {
            $(".contenttoggleClass").hide();
            $(this).toggleClass("expanded");
            $(this).next().slideToggle();
        });
    });

    //this function use for showhidebatch in create class and course
    function showhideBatch(id) {
        $(".contenttoggleClass").hide();
        $(".content").hide();
        $("." + id).slideToggle("slow", function() {
        });
    }
    //this function use for showhide venue  in create class and course
    function showVenueContent(id) {
        $(".venueContent").hide();
        $(".tabBox ul li").removeClass('active');
        $(".add_" + id).addClass('active');
        $("." + id).slideToggle("slow", function() {

        });
    }
    //this function use for count chareter  in create class and course
    function countChar(val) {
        var len = val.value.length;
        if (len >= 100) {
            val.value = val.value.substring(0, 100);
            $('#charNum').text('You can type max 100 char.');
        } else {
            $('#charNum').text('');
        }
    }

    //this function use for max 5 commaseprated value  in create class and course
    var max = 5;
    function commaSepratedValue(_area, _ticker) {
        var area = document.getElementById(_area);
        var txt = area.value;
        var commas = txt.split(",").length;
        var span = document.getElementById(_ticker);
        if (commas > max) {
            var lastComma = txt.lastIndexOf(",");
            area.value = txt.substring(0, lastComma);
            commas--;
            $('#tagLimit').text('You can type max 5 comma separated tag.');

        }
    }


    //this function use for getfunlearing   in create class and course
    function getFunLearn(funValue, LearnValue, type) {
        var funPer = funValue * 20;
        var lernPer = LearnValue * 20;
        var totalFunLern = funPer + lernPer;
        if (type == 'learn') {
            if (totalFunLern > 100) {
                $("#FunLearning_learn .star-rating-on").addClass('starRatingClass');
                $("#funLearninglearn").val("");
                $("#templearn").val(LearnValue);
                $("#funLearninglearnText").text("You can give the rating Fun Quotient and Learn Quotient max 100%");
            }
            else {
                $("#FunLearning_learn .star-rating-on").removeClass('starRatingClass');
                $("#FunLearning_fun .star-rating-on ").removeClass('starRatingClass');
                $("#funLearninglearn").val($("#templearn").val());
                $("#funLearninglearnText").text("");
                $("#funLearningfun").val($("#tempfun").val());
            }
        }
        if (type == 'fun') {
            if (totalFunLern > 100) {
                $("#FunLearning_fun .star-rating ").addClass('starRatingClass');
                $("#funLearningfun").val("");
                $("#tempfun").val(funValue);
                $("#funLearninglearnText").text("You can give the rating Fun Quotient and Learn Quotient max 100%");
            }
            else {
                $("#FunLearning_learn .star-rating-on").removeClass('starRatingClass');
                $("#FunLearning_fun .star-rating-on ").removeClass('starRatingClass');
                $("#funLearninglearn").val($("#templearn").val());
                $("#funLearningfun").val($("#tempfun").val());
                $("#funLearninglearnText").text("");
            }
        }

    }

    $(document).ready(function() {
        $('.masterTooltip').tipsy({gravity: 'w'});
        $('.question-sign').tipsy({gravity: 'w'});
    });

    //Social Share Popup
    $("#shareOpt").click(function() {
        $('#shareItems').show();
        $("#emailShareItm").niceScroll({touchbehavior: true, autohidemode: true});
        $("#socialShareItm").niceScroll({touchbehavior: true, autohidemode: true});
    });

    $("#closeShareBox").click(function() {
        $('#shareItems').hide();
    });
</script>
<!--Go to Top Script-->
<script>
    jQuery(document).ready(function(){		
        $('.backtotop').click(function() {
            $('html, body').animate({
                scrollTop : 0
            }, 500);
            return false;
        });
    });
    $(window).scroll(function() {
        if ($(this).scrollTop() >= 160) {// could and should! be changed
            $('.backtotop').animate({
                'bottom' : '0px'
            }, 1);
        } else {
            $('.backtotop').animate({
                'bottom' : '-53px'
            }, 1, function() {
            });
        }
    });
</script>
<script type="text/javascript">
    //Subscribe Box JS
    $.fn.is_on_screen = function(){
        var win = $(window);
        var viewport = {top : win.scrollTop(),left : win.scrollLeft()};
        viewport.right = viewport.left + win.width();
        viewport.bottom = viewport.top + win.height();
        var bounds = this.offset();
        bounds.right = bounds.left + this.outerWidth();
        bounds.bottom = bounds.top + this.outerHeight();
        return (!(viewport.right < bounds.left || viewport.left > bounds.right || viewport.bottom < bounds.top || viewport.top > bounds.bottom));
    };
    $(window).scroll(function() {
        if ($(window).scrollTop() >  $('#head').height() ) {
            if( $('#foot').length > 0 ) { 
                if( $('#foot').is_on_screen() ) { 
                    $('.subscribeBox').fadeOut('slow');
                }else {$('.subscribeBox').fadeIn('slow');}	  
            }}
        else{$('.subscribeBox').fadeOut('slow');}	  	  	
    });
</script>
<script>
    $('#hideSubscribe').click(function(){
        $('.subscribeContent').slideToggle();
        $(this).toggleClass('showme hideme');
    });
    jQuery(document).ready(function() {
        jQuery('#reviewCarousel').carousel({
            interval: 4000
        })
    });
    jQuery(document).ready(function($) {
        $('.crsl-items_like').respCaro({overflow: false, visible: 3, itemMinWidth:300, itemMargin: 20, autoRotate: 4000});
        $('.crsl-items_ruuning_class').respCaro({overflow: false, visible: 3, itemMinWidth:300, itemMargin: 20, autoRotate: 4000});
        $('.crsl-items_previous_class').respCaro({overflow: false, visible: 3, itemMinWidth:300, itemMargin: 20, autoRotate: 4000});
        $('.crsl-items_literally').respCaro({overflow: false, visible: 3, itemMinWidth:300, itemMargin: 20, autoRotate: 5000});
    });
</script>

</body>
</html>